Google has already released a dark theme in Google Chrome, allowing the browser to complement the visual style of the operating system on both Windows 10 and macOS.
However, while the dark theme itself is already here, you will find parts of the browser which are still using the classic light theme, which is because a credit card applicatoin the size of Chrome can't just be overhauled overnight with this new mode.
The best example in connection with this is the template utilized by interstitial warnings in Google Chrome, which still use the classic visual style and do not follow the dark mode in the operating-system.
For starters, the interstitial warnings would be the messages that you will get when pointing the browser to pages which are referred to as dangerous and may represent a threat of malware infection for users. Google Chrome thus displays an alert before these pages are loaded, making you aware of the potential risks but nonetheless allowing you to continue to the website if you want it.
"When users visit a web page, browsers like Chrome look into the content that's loaded to ascertain if any part of it is potentially dangerous. When it detects a problem, the browser shows a warning, alerting users that content from the site we've identified as being malicious is being loaded. Oftentimes, we'll also flag the original site as malicious, which alerts the webmaster helping to safeguard potential users," Google explains.
Although this is a piece happening, users can already enable the dark theme within the interstitial warnings while using latest Canary build and a dedicated flag which has recently been put into the browser.
The first step is dependant on updating Google Chrome Canary to the new edition available today. During the time of writing this article, the most recent release is 77.0.3828.0.
Then, you need to enter the advanced flags configuration screen, that is possible by clicking the omnibox (the address bar at the top) and typing the following code:
chrome://flags
Next, use the search engine at the very top to look for the following flag in Chrome Canary:
Security interstitials dark mode
Should you just want to perform the event faster, copy the following code and paste it within the omnibox in Canary:
chrome://flags/#security-interstitials-dark-mode
The flag comes with a description that completely reveals its purpose:
"Security interstitials dark mode"
Allows security interstitials to defend myself against a dark theme once the OS is switched to dark mode. - Mac, Windows, Linux, Chrome OS, Android
#security-interstitials-dark-mode
Within the existing builds of Google Chrome Canary, the default state of this flag is disabled, so you have to click on the drop-down menu next to its name and switch it to Enabled. A reboot from the browser is going to be needed in order to save the alterations.
When you reload the browser, interstitial warnings in the search engines Chrome Canary should now stick to the dark theme from the operating system, obviously if enabled.
If you want to activate the dark theme in Windows 10, and therefore to allow it in Google Chrome too, you have to follow the next path:
Windows 10 > Settings > Personalization > Colors > Choose your color > Dark
Google doesn't provide users by having an option to make use of the dark theme in Chrome independently from the Windows 10 settings, so for instance if you want to enable this visual style having a light theme in Windows, this isn't possible for now despite user feedback with such a feature.
:: بازدید از این مطلب : 409
|
امتیاز مطلب : 0
|
تعداد امتیازدهندگان : 0
|
مجموع امتیاز : 0